package cn.laixueit.controller;

import cn.laixueit.service.ClassPersonCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/count")
public class ClassPersonCountController {

    @Autowired
    private ClassPersonCountService service;

    @RequestMapping("find")
    public List<Map> find(){
        return service.find();
    }
}
